package org.itboys.product.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

/**
 * 挂在商品分类下的 规格特征 比如 颜色 分类
 * @author ChenJunhui
 *
 */
@Entity(value = "ProductCategorySpec", noClassnameStored = true)
public class ProductCategorySpec extends BaseLongIdEntity{

	private static final long serialVersionUID = 5573139084426991305L;
	
	@Indexed
	private long productCategoryId;//关联商品分类ID
	private int showType; //展示方式 1:文字 2:图片 3:常规展示  4:参数规格等 常量自己定义
	private String name;// 名字 比如 颜色 分类
	private int status = 1;//状态 1:有效 0:废弃
	private int isDeleted;//0:有效   1:无效
	
	public int getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}
	public long getProductCategoryId() {
		return productCategoryId;
	}
	public void setProductCategoryId(long productCategoryId) {
		this.productCategoryId = productCategoryId;
	}
	public int getShowType() {
		return showType;
	}
	public void setShowType(int showType) {
		this.showType = showType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}
